package com.kgc.api.user;

import com.kgc.bean.Footprint;

import java.util.List;

/**
 * @Classname FootPrintApi
 * @Description TODO
 * @Date 2021/6/21 9:41
 * @Created by 17402
 */
public interface FootPrintApi {
    //查找足迹
    Footprint findFootprint(String goodsId, Integer userId);
    //添加足迹
    Boolean addFootPrint(Footprint footprint);
    //更新足迹最后访问时间
    void updateFootTime(Footprint footprint);
    //返回已登录用户的足迹
    List<Footprint> findFootprintByUserId(Integer userId);
}
